package com.mars.boss.manager.entity.exts;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Transient;

import com.mars.common.mybatis.entity.BaseEntity;


public class MenuExts<T> extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Transient
	private String text;

	@Transient
	private String state = "closed";

	@Transient
	private List<T> children;

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<T> getChildren() {
		return children;
	}

	public void setChildren(List<T> children) {
		this.children = children;
	}


}
